package cn.kongwg.boot.service.impl;

import cn.kongwg.boot.entity.User;
import cn.kongwg.boot.mapper.UserMapper;
import cn.kongwg.boot.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author kongwg
 * @create 2021-03-18 21:55
 */
@Service
public class UserServiceImpl implements UserService {

    @Autowired
    private UserMapper userMapper;

    @Override
    public User findUserByName(String username) {

        return userMapper.findUserByName(username);
    }
}
